import {
	http
} from '../httpIndex.js'


export default {
	// 保存违纪巡查信息
	save(data) {
		return http.post(
			`app/violation/class/interval/save`, data
		)
	},
	// 删除违纪巡查信息
	delete(id){
		return http.delete(`app/violation/class/interval/`+id, null)
	},
	// 接受违纪巡查信息
	receiveStudents(data){
		return http.post(`app/violation/class/interval/students/receive`,data)
	},
	// 分页列表
	getPageList(data) {
		return http.post(
			`app/violation/class/interval/pageList`, data
		)
	},
	// 获取违纪巡查详情信息
	getDetail(id) {
		return http.get(
			`app/violation/class/interval/getDetail/`+id
		)
	}
}
